package com.viettel.core.bussiness.cms;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.viettel.core.dao.cms.ReportSubDAO;
import com.viettel.core.entities.vo.ReportSubSearchFilter;
import com.viettel.core.entities.vo.ReportSubSearchVO;
import com.viettel.core.exceptions.BusinessException;
import com.viettel.core.exceptions.DataAccessException;

public  class ReportSubMgrImpl implements ReportSubMgr{

	@Autowired 
	ReportSubDAO reportSubDAO; 
	@Override
	public List<ReportSubSearchVO> getListReportSubByFilter(
			ReportSubSearchFilter filter) throws BusinessException {
		
		try { 
			return  reportSubDAO.getListReportSubByFilter(filter); 
		} catch (DataAccessException e) { 
			throw new BusinessException(e); 
		} 
	}

}
